home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 013 / fmt.arc / FMT.DOC < prev    next >
Encoding:
Text File  |  1984-10-31  |  2.8 KB  |  56 lines

  1.  
  2.  
  3.                 FMT.BAT - Enables constant dual disk formatting
  4.  
  5.                      by Stephen P. Goodman, ESP Software
  6.  
  7.                 
  8.         This simple batch file was developed as a solution to a friend of
  9.         mine who formatted disks for his customers, as an extra service
  10.         whenever they bought diskettes.  Originally, he had used DOS's
  11.         FORMAT.COM on its own, with a patch made to it that beeped when
  12.         the "Format Another(Y/N)?" prompt came up.  I made FMT.BAT so
  13.         that all his secretary would have to do is keep putting in 
  14.         diskettes.
  15.  
  16.         FMT.BAT does the following, using DOS batch commands:
  17.  
  18.                 1. Erases the screen
  19.                 2. Beeps and Displays the message, "Formatting Drive B:....."
  20.                 3. Suppresses the screen output of FORMAT.COM
  21.                 4. Erases the screen
  22.                 5. Beeps and Displays the message, "Formatting Drive A:....."
  23.                 6. Suppresses again the screen output of FORMAT.COM
  24.                 7. Re-executes itself
  25.  
  26.         I was approached with a copy of a "public domain" utility by Peter
  27.         Norton (you know, the fellow with the clown tie), that did what he
  28.         termed a "high-speed copy".  My friend wanted me to decode the 
  29.         pascal file and its included assembler code, because Norton's 
  30.         program only copied/formatted/verified for DOS 1.1 - in an 8-sector,
  31.         single-sided format, whether or not the copied disk was the same.
  32.         Well, he HAD recommended it for DOS 1.1 only.  This program did a
  33.         complete performance of its two-disk copy/format/verify function in
  34.         about 1:06 - which was fine, if you used DOS 1.1, but since it only
  35.         copied(etc) 1 SIDE, you'd have to multiply that time by about 2 in
  36.         order to find out the total loop time.
  37.  
  38.         FMT.BAT does the above in 1:46 - in a dual-sided, 9-sector format.
  39.         
  40.         NOTE: BEFORE USING FMT.BAT, INSTALL THE FOLLOWING FILES ON A 32KB
  41.         RAMDISK, USING ANY AVAILABLE RAMDISK FUNCTION(ie QDXT 1/A, or
  42.         RAMDISK 1, etc.) :
  43.                                 FORMAT.COM
  44.                                 FMT.BAT
  45.                                 INPUT     <- this file routes instructions
  46.                                              to FORMAT.COM, bypassing the
  47.                                              user input functions
  48.  
  49.         To temporarily halt formatting, simply press Ctrl-NumLock.
  50.  
  51.         To halt the loop, wait until Drive A: is being formatted, and hold
  52.         the Ctrl-Break keys down.  When FORMAT.COM is finished verifying
  53.         Drive A:, it will break out of the loop.
  54.  
  55.                                         18 September 1984
  56.